<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class SmsLog extends Model
{
    protected $guarded = [];

    public function device()
    {
        return $this->belongsTo(Device::class, 'device_id', 'device_id');
    }

    public function phone_number_model()
    {
        return $this->belongsTo(PhoneNumber::class, 'sim', 'imsi');
    }
    //
}
